'use strict'

const path = require('path')

function resolve(dir) {
	return path.join(__dirname, dir)
}
module.exports = {
	// 选项...
	// lintOnSave: process.env.NODE_ENV !== 'production',
	lintOnSave: false,
	configureWebpack: {
		// provide the app's title in webpack's name field, so that
		// it can be accessed in index.html to inject the correct title.
		resolve: {
			alias: {
				'@': resolve('src'),
				'c': resolve('src/components'),
			}
		}
	},
}
